export function getFullscreenStatus() {
  return document.fullscreen;
}

export async function triggerScreen(fullscreen = getFullscreenStatus()) {
  if (fullscreen) {
    await document.exitFullscreen();
  } else {
    await document.documentElement.requestFullscreen();
  }
}
